<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo (C("WEBNAME")); ?></title>
<meta name="keywords" content="闫海,闫海博客,芒果小叨,闫海个人博客" />
<meta name="description" content="闫海的个人博客,闫海是一个会点三脚猫功夫的伪php程序员。网名芒果小叨。" />
<link href="/Public/Index/css/base.css" rel="stylesheet">
<link href="/Public/Index/css/index.css" rel="stylesheet">
<link rel="stylesheet" href="/Public/Index/css/animate.css">
<link rel="stylesheet" href="/Public/Index/css/audioplayer.css" />
<!-- yanhai0531.com Baidu tongji analytics -->
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F5a97c6527b57694be765111b6a23bffc' type='text/javascript'%3E%3C/script%3E"));
</script>
<script src="http://siteapp.baidu.com/static/webappservice/uaredirect.js" type="text/javascript"></script>
<script type="text/javascript">uaredirect("http://yanhai0531.com/mobile.php");</script>
<SCRIPT language=JavaScript>
<!--  
  function openwin(page,size)
  {  
  var newopen=window.open(page,"new","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=650,height=680"+size);
  newopen.focus();
  }
//-->
</SCRIPT>
</head>
<body>
<script src="/Public/Index/js/jquery.js"></script>
<div class='header animated bounceInDown'>
    <div class='wrap'>
      <div class='logo'><a data-scroll-reveal='enter from the top over 0.7s' href='<?php echo U("/");?>'>
         <img src='/Public/Index/images/logo.png' title='闫海的个人博客首页' alt="logo" /></a>
      </div>
      <div data-scroll-reveal='enter from the top over 0.7s' class='top-nav'>
          <ul id="topnav">
            <li><a href='<?php echo U("/");?>'  title='首页'>首页<span></span></a></li>
            <?php $_cate = M('category')->order('sort')->where(array('pid'=>0))->select(); foreach($_cate as $_cate_v): extract($_cate_v); $url = U('Index/list/'.$id); ?><li><a href='<?php echo ($url); ?>' title='<?php echo ($name); ?>'><?php echo ($name); ?><span> </span></a></li><?php endforeach; ?>
            <li><a href='<?php echo U("Index/Article/message");?>'  title='给我留言'>给我留言<span></span></a></li>
          </ul>
      </div>
      <div class='clear'></div>
    </div>
</div>
<div class="banner">
  <section class="box">
    <ul class="texts">
      <p>我们总是会找各种各样的理由来拖住自己向前进的脚步，</p>
      <p>却不知道，那些“不可能”的事，</p>
      <p>只是你以为不可能而已。。。</p>
    </ul>
    <div class="avatar"><a href="#"><span>闫海</span></a> </div>
  </section>


</div>
<div class="template">
  <div class="box">
    <h3>
      <p><span>照片墙</span> My photos</p>
    </h3>
    <ul>
      <li><a target="_blank" onclick="javascript:window.open('/Uploads/images/01.jpg','a', 'height=600,width=600,status=no,toolbar=no,menubar=no,location=no,scrollbars=no');"><img src="/Uploads/images/1.jpg" title="闫海-芒果小叨"></a><span>芒果小叨就是我--闫海</span></li>
      <li><a target="_blank" onclick="javascript:window.open('/Uploads/images/02.jpg','a', 'height=600,width=600,status=no,toolbar=no,menubar=no,location=no,scrollbars=no');"><img src="/Uploads/images/2.jpg" title="闫海-芒果小叨"></a><span>闫海的另一半小兔子</span></li>
      <li><a target="_blank" onclick="javascript:window.open('/Uploads/images/03.jpg','a', 'height=600,width=600,status=no,toolbar=no,menubar=no,location=no,scrollbars=no');"><img src="/Uploads/images/3.jpg" title="闫海-芒果小叨"></a><span>男巫Jason Mraz--闫海喜欢的歌手</span></li>
      <li><a target="_blank" onclick="javascript:window.open('/Uploads/images/04.jpg','a', 'height=600,width=600,status=no,toolbar=no,menubar=no,location=no,scrollbars=no');"><img src="/Uploads/images/4.jpg" title="闫海-芒果小叨"></a><span>闫海推荐欢乐满分的一张专辑</span></li>
    </ul>
  </div>
</div>
<article style="margin-top:20px;">
  <h2 class="title_tj">
    <p>文章<span>推荐</span></p>
  </h2>
  <div class="bloglist left">
  <?php if(is_array($list)): foreach($list as $key=>$v): ?><h3 style="color: <?php echo ($v["color"]); ?>"><?php echo (substr($v["title"],0,90)); ?></h3>
    <figure><img src="<?php echo ($v["url"]); ?>"></figure>
    <ul>
      <p><?php echo ($v["description"]); ?></p>
      <a title="<?php echo ($v["title"]); ?>" href="<?php echo U('Index/article/'.$v['id']);?>" class="readmore">阅读全文>></a>
    </ul>
    <p class="dateview"><span><?php echo (date('Y-m-d', $v["time"])); ?></span><span>作者：<?php echo ($v["author"]); ?></span><span>个人博客：[<a href="<?php echo U('Index/list/'.$v['cid']);?>"><?php echo ($v["c_name"]); ?></a>]</span></p><?php endforeach; endif; ?>
  </div>
    <aside class="right">
    <div class="search-box">
    <form action="<?php echo U('List/search');?>" method="get">
        <h3>文章搜索：</h3>
        <select name="type">
        <option value="title">标题</option>
        <option value="content">内容</option>
        </select>
        <input type="text" class="search-text" placeholder="请输入关键词..." name="content">&nbsp;
        <input type="submit" value="搜索" class="search-submit" >
      </form>
      </div>
    <div class="weather"><iframe allowtransparency="true" frameborder="0" width="195" height="96" scrolling="no" src="http://tianqi.2345.com/plugin/widget/index.htm?s=2&z=1&t=0&v=0&d=1&bd=0&k=000000&f=&q=1&e=1&a=1&c=54823&w=195&h=96&align=center"></iframe></div>

      <audio src="http://sc.111ttt.com/up/mp3/46823/4D1693450FB47AABC420DD1429A551F3.mp3" preload="auto">
    </audio>
      
      <script src="/Public/Index/js/audioplayer.js"></script>
      <script>$( function() { $( 'audio' ).audioPlayer(); } );</script>
    
    <div class="news" style="margin-top:10px;">
    <?php W('Right/hot');?>
    </div>  
    <!-- Baidu Button BEGIN -->
    <div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare"><a class="bds_tsina"></a><a class="bds_qzone"></a><a class="bds_tqq"></a><a class="bds_renren"></a><span class="bds_more"></span><a class="shareCount"></a></div>
    <script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=6574585" ></script> 
    <script type="text/javascript" id="bdshell_js"></script> 
    <script type="text/javascript">

document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
</script> 
    <!-- Baidu Button END -->   
    <a onclick="javascript:window.open('/Public/Index/images/weixin.jpg','a', 'height=600,width=600,status=no,toolbar=no,menubar=no,location=no,scrollbars=no');" class="weixin"> </a></aside>
</article>
<footer>
  <p><a href="http://www.miitbeian.gov.cn/" target="_blank"><?php echo (C("COPY")); ?></a> </p>
</footer>
<script src="/Public/Index/js/silder.js"></script>

<script type="text/javascript">
     if(typeof(Worker) === "undefined"){
     	$.get('/Public/Html5/html5.html', function(data){
			$('body').html(data);
		})
     }
</script>

</body>
</html>